<div id="calosc">
  <div id="logo">
    <?php if ($logo): ?>
    <a href="<?php print $front_page; ?>" title="<?php print t('Home'); ?>" rel="home" id="logo">
      <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" />
    </a>
    <?php endif; ?>
  </div>
  <div id="logo_right">
    <div id="flags">
    <span style="color:grey; font-size:11px;">
      <span style="float:left; margin-right:20px;">
        <p><?php print t('Контакты').':'; ?></p>
      </span>
      <span style="float:right;">
        <?php print render($page['contacts']); ?>
      </span>
    </div>
    <div id="search">
    </div>
  </div>
  <div style="clear:both"></div>
  <div class="menu">
    <div class="menu_left"></div>
    <div class="menu_right"></div>
    <?php if ($main_menu): ?>
    <div id="main-menu" class="navigation">
      <?php print theme('links__system_main_menu', array(
      'links' => $main_menu,
      'attributes' => array(
        'id' => 'main-menu-links',
        'class' => array('links', 'clearfix'),
      ),
      'heading' => array(
        'text' => t('Main menu'),
        'level' => 'h2',
        'class' => array('element-invisible'),
      ),
    )); ?>
    </div> <!-- /#main-menu -->
    <?php endif; ?>

  </div>

  <div id="category">
    <div class="corner_1"></div>
    <div class="corner_2"></div>
    <div class="corner_3"></div>
    <div class="corner_4"></div>
    <?php print render($page['category_slider']); ?>
  </div>


  <?php if(drupal_is_front_page()) :?>
  <div style = "margin-top:20px;">
    <object width="980" height="260" data="http://lonex.com.pl/upload/Banery/baner04(1).swf" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
      <param value="high" name="quality">
      <param value="http://lonex.com.pl/upload/Banery/baner04(1).swf" name="movie">
      <embed width="980" height="260" type="application/x-shockwave-flash" src="http://lonex.com.pl/upload/Banery/baner04%281%29.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer">
    </object>
  </div>

  <?php endif; ?>

  <div id="product">
    <?php if(!empty($page['content'])): print render($page['content']); endif;?>
    <div class="corner_1"></div>
    <div class="corner_2"></div>
    <div class="corner_3"></div>
    <div class="corner_4"></div>
  </div>


  <?php if(!empty($page['model_list'])) : ?>
  <div id="product_list">
    <?php print render($page['model_list']); ?>
    <div style="clear:both"></div>
    <div class="corner_1"></div>
    <div class="corner_2"></div>
    <div class="corner_3"></div>
    <div class="corner_4"></div>
  </div>
  <?php endif; ?>

  <div id="art_type_2">
    <div id="art_type_2a">
      <div class="corner_1"></div>
      <div class="corner_2"></div>
      <div class="corner_3"></div>
      <div class="corner_4"></div>
      <p>
        <img alt="" src="/sites/all/themes/lonex/images/baner14.jpg" style="width: 731px; height: 295px;" /></p>

    </div>
    <div id="art_type_2b">
      <div class="corner_1"></div>
      <div class="corner_2"></div>
      <div class="corner_3"></div>
      <div class="corner_4"></div>
      <p>
        <img alt="" src="http://lonex.com.pl/upload/Banery/baner11.jpg" style="width: 237px; height: 295px;" /></p>

    </div>
    <div style="clear:both;"></div>
  </div>
  <div class="menu">
    <div class="menu_left"></div>
    <div id="menu_text">
      <?php print l(t('Новости'), 'news', array('absolute'=>true, 'attributes'=>array('class'=>'basic_link'))); ?>
      <?php print l(t('Контакты'), 'contacts', array('absolute'=>true, 'attributes'=>array('class'=>'basic_link'))); ?>
    </div>
    <div class="menu_right"></div>

  </div>
  <div id="footer"><p style="text-align: center;">
  <span style="font-size:9px;">
    <span style="font-family: verdana,geneva,sans-serif;">Copyright &copy; 2012 LONEX All Rights Reserved</span>
  </span></p>
    <p style="text-align: center;">
      &nbsp;
    </p>
  </div>

</div>



